package com.example.crowdfunding.service.api;

import com.example.crowdfunding.entity.Authority;

import java.util.List;
import java.util.Map;

public interface AuthorityService {

    List<Authority> getAll();

    List<Integer> getAssignedAuthById(Integer roleId);

    void saveRoleAuthRelationship(Map<String, List<Integer>> map);

    List<String> findAssignedAuthByAdminId(Integer adminId);

}
